//
//  NewPopViewController.h
//  HondaPro_2
//
//  Created by ht on 13-7-20.
//  Copyright (c) 2013年 glendale. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NIDropDown.h"
#import "SearchTableViewCell.h"
#import "DDPopoverBackgroundView.h"
#import "popContentViewController.h"

@protocol NewPopViewDelegate <NSObject>

- (void)addNewSuccess;

@end

@interface NewPopViewController : UIViewController<NIDropDownDelegate,UITableViewDelegate,UITableViewDataSource,ContentViewControllerDelegate,UITextFieldDelegate>
{
    NIDropDown *dropDown;
    UIDatePicker *_chooseDate;
    
    popContentViewController *contentCon;
}

@property(nonatomic,assign)id<NewPopViewDelegate>delegate;

@property(nonatomic,strong)NSMutableDictionary *editdDataDic;
@property(nonatomic , strong)NSString *bookFrom;//预约来源
@property(nonatomic , strong)NSString *bookFromCode;//预约来源代码
@property(nonatomic , strong)NSString *chexiCode;//车系代码
@property(nonatomic , strong)NSString *chexingCode;//车型代码

@property(nonatomic,strong)SearchTableViewCell *searchTableViewCell;
@property(nonatomic,strong)NSMutableArray *listRowIndex;
@property(nonatomic,strong)UILabel *yYueNumber;
@property(nonatomic,strong)UITextField *cPaiNumber;
@property(nonatomic,strong)UITextField *kHuName;
@property(nonatomic,strong)UITextField *cJiaNumber;
@property(nonatomic,strong)UILabel *yYueTypeLabel;
@property(nonatomic,strong)UIButton *gWei;
@property(nonatomic,strong)UIButton *gWeiName;
@property(nonatomic,strong)UIButton *beginTime;
@property(nonatomic,strong)UILabel *dJPeopleLabel;
@property(nonatomic,strong)UITextField *lXiPhone;
@property(nonatomic,strong)UIButton *carPlateCxun;
@property(nonatomic,strong)UITableView *searchPlateView;

@property(nonatomic,strong)UITextView *yHuSpeak;
@property(nonatomic,strong)UIView *xLiType;

@property(nonatomic,strong)UIButton *bookFromBtn;
@property(nonatomic,strong)UIButton *fWuConsultant;
//维修分类按钮
@property(nonatomic,strong)UIButton *repairTypeBtn;
//维修分类label
@property(nonatomic,strong)UILabel *repairTypeLabel;
@property(nonatomic,strong)UIButton *endTime;
@property(nonatomic,strong)UILabel *dJiTimeLabel;
@property(nonatomic,strong)UIButton *determineButton;
@property(nonatomic,strong)UIButton *toViewButton;
@property(nonatomic,strong)UIButton *cancelButton;
//维修状态选择button
@property(nonatomic,strong)UIButton *firstChoose;
@property(nonatomic,strong)UIButton *nJianChoose;
@property(nonatomic,strong)UIButton *bJinChoose;
@property(nonatomic,strong)UIButton *jPinChoose;
@property(nonatomic,strong)UIButton *dQiChoose;
@property(nonatomic,strong)UIButton *yBanChoose;
@property(nonatomic,strong)UIButton *pQiChoose;

@property(nonatomic,strong)UIPopoverController *popCon;

@property(nonatomic,strong)UIView *popSearchView;

//saName 服务顾问
@property(nonatomic , strong)NSMutableArray *saArray;
@property(nonatomic , strong)NSString *saId;
//维修分类选择
@property(nonatomic,strong)NSMutableDictionary *addPopDit;
@property(nonatomic,strong)NSString *weiXiuTypeBC;
@property(nonatomic,strong)NSMutableArray *chooseArray;
//工位选择
@property(nonatomic,strong)NSMutableArray *gChangXZ;
@property(nonatomic,strong)NSString *gChangNumber;
@property(nonatomic,strong)NSMutableArray *workStationArray;
@property(nonatomic,strong)NSString *workStationNameId;

-(void)removeNotification;
-(void)addNotification;
@end
